package y.api;
import y.api.fallback.YnpstHelloFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "jeecg-ynpst", fallbackFactory = YnpstHelloFallback.class)
public interface YnpstHelloApi {

    /**
     * ynpst hello 微服务接口
     * @param
     * @return
     */
    @GetMapping(value = "/ynpst/hello")
    String callHello();
}
